<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script src="./util.js"></script>
  <script>
    // var a = [1.401000001,2.01,3.01,4.11]
    // console.log(addNum(a))
    var b = [
      {key: 'a', value: '1'},
      {key: 'b', value: '2'},
      {key: 'c', value: '3'},
      {key: 'd', value: '4'},
      {key: 'a', value: '5'},
      {key: 'a', value: '6'},
      {key: 'b', value: '7'},
      {key: 'c', value: '8'},
      {key: 'b', value: '9'},
      {key: 'a', value: '10'}
    ]
    var c = ['1', '2', '3']

    console.log(stringToNumberInArray(c))
  </script>
</body>
</html>